[INFO] fetching crate jute-parser 0.1.0...
[INFO] testing jute-parser-0.1.0 against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1
[INFO] extracting crate jute-parser 0.1.0 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate jute-parser 0.1.0
[INFO] finished tweaking crates.io crate jute-parser 0.1.0
[INFO] tweaked toml for crates.io crate jute-parser 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate jute-parser 0.1.0 on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate jute-parser 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0f36b74962e0f761e9001043ca618806e79d90fbc2c0b07dd5611e5b5bbd9cb7
[INFO] running `Command { std: "docker" "start" "-a" "0f36b74962e0f761e9001043ca618806e79d90fbc2c0b07dd5611e5b5bbd9cb7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0f36b74962e0f761e9001043ca618806e79d90fbc2c0b07dd5611e5b5bbd9cb7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0f36b74962e0f761e9001043ca618806e79d90fbc2c0b07dd5611e5b5bbd9cb7", kill_on_drop: false }`
[INFO] [stdout] 0f36b74962e0f761e9001043ca618806e79d90fbc2c0b07dd5611e5b5bbd9cb7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 546cd4ccc8248666aece980d4d4a9d6754299f71bbd71e6177530193cac8aed3
[INFO] running `Command { std: "docker" "start" "-a" "546cd4ccc8248666aece980d4d4a9d6754299f71bbd71e6177530193cac8aed3", kill_on_drop: false }`
[INFO] [stderr]    Compiling jute-parser v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: method `write` is never used
[INFO] [stdout]   --> src/code_generator/mod.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub(crate) trait CodeGenerator {
[INFO] [stdout]    |                  ------------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 10 |     fn write(&mut self, o_file: &Path) -> Result<(), JuteError> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/code_generator/mod.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout]  9 |     #[warn(dead_code)]
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_module_name` is never used
[INFO] [stdout]   --> src/code_generator/rust/utilities.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn get_module_name(original_name: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/code_generator/rust/utilities.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[warn(dead_code)]
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `validate` is never used
[INFO] [stdout]   --> src/compiler/ast.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Doc {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] 13 |     // it checks if the single doc contain same modules more than one time and all modules are valid
[INFO] [stdout] 14 |     pub fn validate(&self) -> Result<(), JuteError> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `validate` is never used
[INFO] [stdout]   --> src/compiler/ast.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl Module {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] 36 |     // this will validate that the module is valid in its own (all records are valid and no record name repeated)
[INFO] [stdout] 37 |     pub fn validate(&self, file_src: &PathBuf) -> Result<(), JuteError> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `validate` is never used
[INFO] [stdout]   --> src/compiler/ast.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 58 | impl Class {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] 59 |     // this will validate that the record is valid in its own (field names are not repeated) field type validation is not done
[INFO] [stdout] 60 |     pub fn validate(&self, module_name: &str, file_name: &PathBuf) -> Result<(), JuteError> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AstPrinter` is never constructed
[INFO] [stdout]  --> src/compiler/ast_printer.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct AstPrinter {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/compiler/ast_printer.rs:8:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl AstPrinter {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout]  8 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     fn print_indent(&self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     fn line(&self, label: impl AsRef<str>) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     fn with_indent<F: FnOnce(&mut AstPrinter)>(&mut self, f: F) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn print_doc(&mut self, doc: &Doc) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     fn print_module(&mut self, m: &Module) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     fn print_class(&mut self, c: &Class) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 70 |     fn print_field(&mut self, f: &Field) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ptype` is never used
[INFO] [stdout]   --> src/compiler/ast_printer.rs:75:4
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn ptype(t: &Type) -> String {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.09s
[INFO] running `Command { std: "docker" "inspect" "546cd4ccc8248666aece980d4d4a9d6754299f71bbd71e6177530193cac8aed3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "546cd4ccc8248666aece980d4d4a9d6754299f71bbd71e6177530193cac8aed3", kill_on_drop: false }`
[INFO] [stdout] 546cd4ccc8248666aece980d4d4a9d6754299f71bbd71e6177530193cac8aed3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5998ba7c554605eacdb54b0f1cd654d8215e1fd6963f39b183e8aca36d8fbf92
[INFO] running `Command { std: "docker" "start" "-a" "5998ba7c554605eacdb54b0f1cd654d8215e1fd6963f39b183e8aca36d8fbf92", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stdout] warning: method `write` is never used
[INFO] [stdout]   --> src/code_generator/mod.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub(crate) trait CodeGenerator {
[INFO] [stdout]    |                  ------------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 10 |     fn write(&mut self, o_file: &Path) -> Result<(), JuteError> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/code_generator/mod.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout]  9 |     #[warn(dead_code)]
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_module_name` is never used
[INFO] [stdout]   --> src/code_generator/rust/utilities.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn get_module_name(original_name: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/code_generator/rust/utilities.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[warn(dead_code)]
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `validate` is never used
[INFO] [stdout]   --> src/compiler/ast.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Doc {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] 13 |     // it checks if the single doc contain same modules more than one time and all modules are valid
[INFO] [stdout] 14 |     pub fn validate(&self) -> Result<(), JuteError> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `validate` is never used
[INFO] [stdout]   --> src/compiler/ast.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl Module {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] 36 |     // this will validate that the module is valid in its own (all records are valid and no record name repeated)
[INFO] [stdout] 37 |     pub fn validate(&self, file_src: &PathBuf) -> Result<(), JuteError> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `validate` is never used
[INFO] [stdout]   --> src/compiler/ast.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 58 | impl Class {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] 59 |     // this will validate that the record is valid in its own (field names are not repeated) field type validation is not done
[INFO] [stdout] 60 |     pub fn validate(&self, module_name: &str, file_name: &PathBuf) -> Result<(), JuteError> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AstPrinter` is never constructed
[INFO] [stdout]  --> src/compiler/ast_printer.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct AstPrinter {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/compiler/ast_printer.rs:8:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl AstPrinter {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout]  8 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     fn print_indent(&self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     fn line(&self, label: impl AsRef<str>) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     fn with_indent<F: FnOnce(&mut AstPrinter)>(&mut self, f: F) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn print_doc(&mut self, doc: &Doc) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     fn print_module(&mut self, m: &Module) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     fn print_class(&mut self, c: &Class) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 70 |     fn print_field(&mut self, f: &Field) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ptype` is never used
[INFO] [stdout]   --> src/compiler/ast_printer.rs:75:4
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn ptype(t: &Type) -> String {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling tempdir v0.3.7
[INFO] [stderr]    Compiling jute-parser v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: method `write` is never used
[INFO] [stdout]   --> src/code_generator/mod.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub(crate) trait CodeGenerator {
[INFO] [stdout]    |                  ------------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 10 |     fn write(&mut self, o_file: &Path) -> Result<(), JuteError> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/code_generator/mod.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout]  9 |     #[warn(dead_code)]
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_module_name` is never used
[INFO] [stdout]   --> src/code_generator/rust/utilities.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn get_module_name(original_name: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/code_generator/rust/utilities.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[warn(dead_code)]
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `validate` is never used
[INFO] [stdout]   --> src/compiler/ast.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Doc {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] 13 |     // it checks if the single doc contain same modules more than one time and all modules are valid
[INFO] [stdout] 14 |     pub fn validate(&self) -> Result<(), JuteError> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `validate` is never used
[INFO] [stdout]   --> src/compiler/ast.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl Module {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] 36 |     // this will validate that the module is valid in its own (all records are valid and no record name repeated)
[INFO] [stdout] 37 |     pub fn validate(&self, file_src: &PathBuf) -> Result<(), JuteError> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `validate` is never used
[INFO] [stdout]   --> src/compiler/ast.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 58 | impl Class {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] 59 |     // this will validate that the record is valid in its own (field names are not repeated) field type validation is not done
[INFO] [stdout] 60 |     pub fn validate(&self, module_name: &str, file_name: &PathBuf) -> Result<(), JuteError> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AstPrinter` is never constructed
[INFO] [stdout]  --> src/compiler/ast_printer.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct AstPrinter {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/compiler/ast_printer.rs:8:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl AstPrinter {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout]  8 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     fn print_indent(&self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     fn line(&self, label: impl AsRef<str>) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     fn with_indent<F: FnOnce(&mut AstPrinter)>(&mut self, f: F) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn print_doc(&mut self, doc: &Doc) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     fn print_module(&mut self, m: &Module) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     fn print_class(&mut self, c: &Class) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 70 |     fn print_field(&mut self, f: &Field) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ptype` is never used
[INFO] [stdout]   --> src/compiler/ast_printer.rs:75:4
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn ptype(t: &Type) -> String {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.64s
[INFO] running `Command { std: "docker" "inspect" "5998ba7c554605eacdb54b0f1cd654d8215e1fd6963f39b183e8aca36d8fbf92", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5998ba7c554605eacdb54b0f1cd654d8215e1fd6963f39b183e8aca36d8fbf92", kill_on_drop: false }`
[INFO] [stdout] 5998ba7c554605eacdb54b0f1cd654d8215e1fd6963f39b183e8aca36d8fbf92
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 267d0cb5d93dd6ca11433e7c5a9d27cca19e7782838d6b840f77a9754139424d
[INFO] running `Command { std: "docker" "start" "-a" "267d0cb5d93dd6ca11433e7c5a9d27cca19e7782838d6b840f77a9754139424d", kill_on_drop: false }`
[INFO] [stderr] warning: method `write` is never used
[INFO] [stderr]   --> src/code_generator/mod.rs:10:8
[INFO] [stderr]    |
[INFO] [stderr]  7 | pub(crate) trait CodeGenerator {
[INFO] [stderr]    |                  ------------- method in this trait
[INFO] [stderr] ...
[INFO] [stderr] 10 |     fn write(&mut self, o_file: &Path) -> Result<(), JuteError> {
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: the lint level is defined here
[INFO] [stderr]   --> src/code_generator/mod.rs:9:12
[INFO] [stderr]    |
[INFO] [stderr]  9 |     #[warn(dead_code)]
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_module_name` is never used
[INFO] [stderr]   --> src/code_generator/rust/utilities.rs:30:8
[INFO] [stderr]    |
[INFO] [stderr] 30 | pub fn get_module_name(original_name: &str) -> String {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: the lint level is defined here
[INFO] [stderr]   --> src/code_generator/rust/utilities.rs:29:8
[INFO] [stderr]    |
[INFO] [stderr] 29 | #[warn(dead_code)]
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `validate` is never used
[INFO] [stderr]   --> src/compiler/ast.rs:14:12
[INFO] [stderr]    |
[INFO] [stderr] 12 | impl Doc {
[INFO] [stderr]    | -------- method in this implementation
[INFO] [stderr] 13 |     // it checks if the single doc contain same modules more than one time and all modules are valid
[INFO] [stderr] 14 |     pub fn validate(&self) -> Result<(), JuteError> {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `validate` is never used
[INFO] [stderr]   --> src/compiler/ast.rs:37:12
[INFO] [stderr]    |
[INFO] [stderr] 35 | impl Module {
[INFO] [stderr]    | ----------- method in this implementation
[INFO] [stderr] 36 |     // this will validate that the module is valid in its own (all records are valid and no record name repeated)
[INFO] [stderr] 37 |     pub fn validate(&self, file_src: &PathBuf) -> Result<(), JuteError> {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `validate` is never used
[INFO] [stderr]   --> src/compiler/ast.rs:60:12
[INFO] [stderr]    |
[INFO] [stderr] 58 | impl Class {
[INFO] [stderr]    | ---------- method in this implementation
[INFO] [stderr] 59 |     // this will validate that the record is valid in its own (field names are not repeated) field type validation is not done
[INFO] [stderr] 60 |     pub fn validate(&self, module_name: &str, file_name: &PathBuf) -> Result<(), JuteError> {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AstPrinter` is never constructed
[INFO] [stderr]  --> src/compiler/ast_printer.rs:3:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub struct AstPrinter {
[INFO] [stderr]   |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]   --> src/compiler/ast_printer.rs:8:12
[INFO] [stderr]    |
[INFO] [stderr]  7 | impl AstPrinter {
[INFO] [stderr]    | --------------- associated items in this implementation
[INFO] [stderr]  8 |     pub fn new() -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 12 |     fn print_indent(&self) {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 18 |     fn line(&self, label: impl AsRef<str>) {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 23 |     fn with_indent<F: FnOnce(&mut AstPrinter)>(&mut self, f: F) {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 29 |     pub fn print_doc(&mut self, doc: &Doc) {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 50 |     fn print_module(&mut self, m: &Module) {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 60 |     fn print_class(&mut self, c: &Class) {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 70 |     fn print_field(&mut self, f: &Field) {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `ptype` is never used
[INFO] [stderr]   --> src/compiler/ast_printer.rs:75:4
[INFO] [stderr]    |
[INFO] [stderr] 75 | fn ptype(t: &Type) -> String {
[INFO] [stderr]    |    ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `jute-parser` (lib) generated 8 warnings
[INFO] [stderr] warning: `jute-parser` (lib test) generated 8 warnings (8 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/jute-bbf822c6ca42a5b0)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test code_generator::rust::tests::test_bool ... ok
[INFO] [stdout] test code_generator::rust::tests::test_i32 ... ok
[INFO] [stdout] test code_generator::rust::tests::test_vec ... ok
[INFO] [stdout] test code_generator::rust::tests::test_string ... ok
[INFO] [stdout] test code_generator::rust::tests::test_map ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests jute
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/lib.rs - (line 26) - compile ... ok
[INFO] [stdout] test src/code_generator/rust/mod.rs - code_generator::rust::JuteSerializable (line 34) - compile ... ok
[INFO] [stdout] test src/lib.rs - JuteGenerator (line 63) - compile ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.51s; merged doctests compilation took 0.51s
[INFO] running `Command { std: "docker" "inspect" "267d0cb5d93dd6ca11433e7c5a9d27cca19e7782838d6b840f77a9754139424d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "267d0cb5d93dd6ca11433e7c5a9d27cca19e7782838d6b840f77a9754139424d", kill_on_drop: false }`
[INFO] [stdout] 267d0cb5d93dd6ca11433e7c5a9d27cca19e7782838d6b840f77a9754139424d
